package com.wbsxch.demo04;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

@SpringBootApplication
public class Demo04Application {

    public static void main(String[] args) throws UnsupportedEncodingException {
        String json = "{\"partnerId\":\"yingyinglicai2\",\"verifyKey\":\"38fd5c9e23dd416589de358513a618d6\",\"mobile\":\"18827108772\",\"name\":\"杨志杰\",\"certNo\":\"429006199609218719\"}";;
        String encode = URLEncoder.encode(json, "UTF-8");
        System.out.println(encode);
    }


}
